Samir Nasri said is "relieved" after playing his first competitive football match in 13 months as West Ham beat Birmingham City on Saturday.