[PATCH 6.1 377/591] block: add overflow checks for Amiga partition support