directiv: Use nasm_ error helpers