Fixed two bugs in the PKCS7 padding where unpadding would accept bad inputs

This is #234 but without the complex timing fixes, that can go on top of this.