Trim newlines from the cloud-config-url option

When cloud-config-url is the last kernel parameter, the resulting URL will end with a newline character making the resource unaccessible when fetched (HTTP Not Found).