target-i386: add helper functions to get other flags