simpleperf: check errors in CanSampleRegsFor32BitABI()

CanSampleRegsFor32BitABI() returns nullopt when having an error.
Currently the caller ignores the error. But it's better to check.
So this patch checks the error in OMIT_TEST_ON_NON_NATIVE_ABIS.

Bug: 291717595
Test: run CtsSimpleperfTestCases
Change-Id: I210fbb5ca2f426936cefd0ae717ff50f4549f2ae
Merged-In: I210fbb5ca2f426936cefd0ae717ff50f4549f2ae
2 files changed