main/gcc: fix wrong code when returning padded struct

Closed Milan P. Stanić requested to merge mps/aports:gcc-9.2-fix-returning-padded-struct into master

Merge request reports