MDL-46937 modinfo: Allow course format to overwrite section availability