[PATCH v2 04/15] tools/nolibc: compiler: introduce __nolibc_has_attribute()