[qt5-build.eclass] Return proper exit status from qt5_foreach_target_subdir.

Fix/workaround for bug 517976.