fix primtorch handling for sub.scalar with alpha and float64 arg (#95421)
This fixes the primtorch issue stemming from https://github.com/pytorch/pytorch/issues/95181
Pull Request resolved: https://github.com/pytorch/pytorch/pull/95421
Approved by: https://github.com/ngimel, https://github.com/SherlockNoMad