[PATCH 6/7] sapi: Remove DECLSPEC_HIDDEN usage