Phalcon\Security::checkHash() incorrectly returns true on a non-bcrypt hash

Fix #1912

(cherry picked from commit b369040f05d892fa1d025fdc3847411d7fddea72)
Test case for #1912

(cherry picked from commit 780f6596fdad6c065fe8662e0169b90bd2cc1175)
Regenerated build/