Solid-state nuclear magnetic resonance magnetometry at low temperature with application to antimatter gravity experiments by ALPHA