[PATCH 6.6 401/583] block: add check that partition length needs to be aligned with block size