[CORE] Add __noinline attribute for functions

An attribute to avoid GCC inlining static functions can be very
handy for arch specific code hence this patch adds __noinline
fuction attribute for this purpose.

Signed-off-by: Anup Patel <anup@brainfault.org>