metag: Add NPTL support

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>