MAGIC observations with bright Moon and their application to measuring the VHE gamma-ray spectral cut-off of the PeVatron candidate Cassiopeia A