sdm: Handle empty mode case

The mode sysfs node can be empty such that getline could return with
an error. Handle this case which would prevent reading modes
thereafter. Also do not override fps when a client of mode-switch
queries for mode info.

Change-Id: I48afe7b87f1122bc9149be2bb3480769f6972289
2 files changed