[PATCH 5.4 56/80] dm thin metadata: Add support for a pre-commit callback