Update core.php

I thought apply_atomic has been replaced with hybrid_apply_atomic ?
Merge pull request #48 from riyaku/patch-1

Use hybrid_apply_atomic(). Props @riyaku.