The FIPS 140-3 requires to run only the HMAC-SHA256 self-test before checking for integrity of the library and running the rest of selftests.
In previous discussions, you suggested that this will require some changes to FSM, but I think all of this can be handled inside of _gcry_fips_run_selftests(). See the attached patch with the proposed solution.